<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../lib/jedate-6.5.0/skin/jedate.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Validform/5.3.2/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <title>详情页面-公共</title>
</head>

<body>
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>会员管理<span class="c-gray en">&gt;</span>客户组管理</nav>
    <article class="page-container">
        <div class="">
            <div class="bg-1 bk-gray">
                <div class="tabBar clearfix">
                    <span pageName="showRelevance">场景设置</span>
                    <span pageName="carouselMap">轮播图管理</span>
                    <span pageName="notice">公告管理</span>
                </div>
            </div>
            <div class="form-box">

            </div>
        </div>
    </article>
    <script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
    <!--表单验证-->
    <script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/jedate-6.5.0/dist/jedate.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../ht-js/public.js?rev=@@hash"></script>
    <!--验证token-->
    <script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../ht-js/serviceProvider/approvedServiceProviders/commonJs.js"></script>
    <script type="text/javascript"
        src="../../../ht-js/serviceProvider/approvedServiceProviders/commonDetailPage.js"></script>
    <script>
        var mainCustomerIds = sessionStorage.getItem("mainCustomerId");
        console.log(mainCustomerIds);

        /*tab切换页面变化*/
        function pageShowFn(pageName) {
            switch (pageName) {
                case 'showRelevance':
                    $(".form-box").load("showRelevance.html?mainCustomerId=" + mainCustomerIds);
                    break;
                case 'carouselMap':
                    $(".form-box").load("carouselMap.html?mainCustomerId=" + mainCustomerIds);
                    break;
                case 'notice':
                    $(".form-box").load("notice.html?mainCustomerId=" + mainCustomerIds);
                    break;
                default:
                    $(".form-box").load("showRelevance.html?mainCustomerId=" + mainCustomerIds);
                    break;
            }
        }

        $(".form-box").load("showRelevance.html");

        /* #tab_demo 父级id
              #tab_demo .tabBar span 控制条
              click 事件 点击切换，可以换成mousemove 移动鼠标切换
              1	默认第2个tab为当前状态（从0开始）*/
        jQuery.Huitab = function (tabBar, class_name, tabEvent, i) {
            var $tab_menu = $(tabBar);
            // 初始化操作
            $tab_menu.removeClass(class_name);
            $(tabBar).eq(i).addClass(class_name);
            $tab_menu.bind(tabEvent, function () {
                $tab_menu.removeClass(class_name);
                $(this).addClass(class_name);
                var index = $tab_menu.index(this);
                pageShowFn($($tab_menu[index]).attr("pageName"))
            })
        }
        $.Huitab(".tabBar span", "current", "click", 0);
    </script>
</body>

</html>